<?php
$this->breadcrumbs=array(
	UserModule::t('Users')	=>array('admin'),
	$model->username		=>array('view','id'=>$model->id),
	UserModule::t('Update'),
);
?>

<h1><?php echo  UserModule::t('Update User')." ".$model->id; ?></h1>

<?php 
	echo $this->renderPartial('_menu', array(
		'list'=> array(
			CHtml::link(UserModule::t('Create User'), array('create'), array('class' => 'btn btn-small btn-success')),
			CHtml::link(UserModule::t('View User'),array('view','id'=>$model->id), array('class' => 'btn btn-small btn-success')),
		),
	)); 

	echo $this->renderPartial('_form', array('model'=>$model,'profile'=>$profile,'workshifts'=>$workshifts)); ?>